//package com.paradogs.gs.modules.task.db;
//
//import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
//import com.baomidou.mybatisplus.annotation.TableField;
//import com.baomidou.mybatisplus.annotation.TableName;
//import com.baomidou.mybatisplus.extension.handlers.Fastjson2TypeHandler;
//import com.gitee.sunchenbin.mybatis.actable.annotation.ColumnType;
//import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
//import com.paradogs.common._cfg.Cfg;
//import com.paradogs.gs.misc.BaseMultiEntity;
//import lombok.AllArgsConstructor;
//import lombok.Data;
//import lombok.EqualsAndHashCode;
//import lombok.NoArgsConstructor;
//
//import java.util.Arrays;
//import java.util.List;
//
///**
// * @author: yumi
// * @date: 2024/10/23  21:47
// * @Description: TODO
// */
//@Data
//@AllArgsConstructor
//@NoArgsConstructor
//@ProtobufClass
//@EqualsAndHashCode(callSuper = true)
//@TableName(value = "mgr_task", autoResultMap = true)
//public class Task extends BaseMultiEntity {
//
//    // 配置 ID
//    @TableField("cfg_id")
//    private Integer cfgId;
//
//    // 完成进度
//    @ColumnType(value = MySqlTypeConstant.VARCHAR, length = 128)
//    @TableField(value = "progress", typeHandler = Fastjson2TypeHandler.class)
//    public List<Integer> progress;
//
//    public static Task build(int cfgId) {
//        Cfg.Task cfg = Cfg.Task.get(cfgId);
//        new Task(cfgId, Arrays.asList());
//    }
//
//}
